From 2d61819c0b313ff7c8c0eedbe02d9d0197a7f57a Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 15 Jan 2015 11:22:27 +0000 Subject: [PATCH] xen: arm: enable sync console in machine_reboot. Otherwise the last thing printed is "(XE" or something. In line with x86 also disable the watchdog and spin debugging. Signed-off-by: Ian Campbell Reviewed-by: Julien Grall --- xen/arch/arm/shutdown.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/arm/shutdown.c b/xen/arch/arm/shutdown.c index 4988b03fc4..e53ec975bf 100644 --- a/xen/arch/arm/shutdown.c +++ b/xen/arch/arm/shutdown.c @@ -38,6 +38,10 @@ void machine_restart(unsigned int delay_millisecs) { int timeout = 10; + watchdog_disable(); + console_start_sync(); + spin_debug_disable(); + local_irq_enable(); smp_call_function(halt_this_cpu, NULL, 0); local_irq_disable(); -- 2.30.2